package com.skytech.component.crawler.scratch;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PageContentDAO extends JpaRepository<PageContent,String> {


    List<PageContent> findByRuleId(String ruleId);
    Page<PageContent> findByRuleId(String ruleId, Pageable pageable);
}
